package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "coupon_history")
public class CouponHistory {
    @Id
    @Column(name = "coupon_history_id")
    private Integer couponHistoryId;

    @Column(name = "coupon_id")
    private Integer couponId;

    @Column(name = "order_id")
    private Integer orderId;

    @Column(name = "customer_id")
    private Integer customerId;

    private BigDecimal amount;

    @Column(name = "date_added")
    private Date dateAdded;
}